@rootsize: 96rem;

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    border: 0;
    vertical-align: middle;
}

body {
    background: url(../images/bg.jpg) no-repeat 0 0;
    background-size: cover;
}

.viewport {
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    min-height: 780px;
    margin: 0 auto;
    background: url(../images//logo.png) no-repeat 0 0;
    padding: (80/@rootsize) (20/@rootsize) 0;

    .column {
        flex: 3;

        .panel {
            position: relative;
            height: (200/@rootsize);
            border: 15px solid transparent;
            border-width: (51/@rootsize) (38/@rootsize)(35/@rootsize)(127/@rootsize);
            border-image: url(../images/border.png);
            border-image-slice: 51 38 35 127;
            margin-bottom: (20/@rootsize);

            .inner {
                position: absolute;
                // background-color: pink;
                top: (-51/@rootsize);
                left: (-127/@rootsize);
                right: (-38/@rootsize);
                bottom: (-35/@rootsize);
                padding: (24/@rootsize) (36/@rootsize);
            }
        }

        // 设备总数
        .overview {
            height: (110/@rootsize);

            ul {
                display: flex;
                justify-content: space-between;

                h3 {
                    color: #fff;
                    font-size: (26/@rootsize);
                    margin: 0 0 (8/@rootsize)(4.8/@rootsize);
                }

                span {
                    font-size: (12/@rootsize);
                    color: #4c9bfd;
                    padding-left: (5/@rootsize);
                }
            }
        }

        // 监控信息
        .monitor {
            height: (400/@rootsize);

            .inner {
                display: flex;
                flex-direction: column;
                padding: (24/@rootsize) 0;

                .tabls {
                    padding: 0 (36/@rootsize);
                    display: flex;

                    a {
                        padding: 0 (30/@rootsize);
                        font-size: (16/@rootsize);
                        color: #1647b3;

                        &:first-child {
                            padding-left: 0;
                            border-right: (1/@rootsize) solid #00e4e4;
                        }

                        &.active {
                            color: #fff;
                        }
                    }
                }

                .content {
                    flex: 1;
                    position: relative;

                    .head {
                        height: (50/@rootsize);
                        color: #60c5e8;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        background-color: rgba(225, 225, 225, 0.2);
                        margin: (10/@rootsize) 0;
                        font-size: (14/@rootsize);
                        padding: (12/@rootsize)(36/@rootsize);
                    }

                    .sjdzyc {
                        color: #4e88d1;
                        position: absolute;
                        top: (60/@rootsize);
                        bottom: 0;
                        left: 0;
                        right: 0;
                        overflow: hidden;

                        .sjdzyc-view {
                            animation: move 15s linear infinite;

                            .row {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                padding: (12/@rootsize)(36/@rootsize);

                                .icon-dot {
                                    position: absolute;
                                    left: (16/@rootsize);
                                    opacity: 0;
                                }

                                &:hover {
                                    background-color: rgba(225, 225, 225, 0.2);

                                    .icon-dot {
                                        opacity: 1;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        // 点位分布统计
        .footer {
            height: (300/@rootsize);

            h1 {
                color: #fff;
                font-size: (16/@rootsize);
            }

            .chart {
                // border: 1px solid yellow;
                display: flex;
                justify-content: space-between;

                .pie {
                    width: (312/@rootsize);
                    height: (240/@rootsize);
                    // border: 1px solid red;
                }

                .zs {
                    width: (150/@rootsize);
                    height: (230/@rootsize);
                    margin-top: (-10/@rootsize);
                    display: flex;
                    flex-direction: column;
                    background: url(../images/rect.png) no-repeat 0 0;
                    background-size: cover;
                    color: #0c51da;
                    padding: (30/@rootsize)(30/@rootsize);

                    span {
                        margin-bottom: (20/@rootsize);

                        h2 {
                            font-size: (25/@rootsize);
                            color: #fff;
                            margin-bottom: (20/@rootsize);
                        }
                    }
                }
            }
        }

    }

    .column:nth-child(2) {
        flex: 4;
        margin: (50/@rootsize) (20/@rootsize) 0;
        position: relative;

        p {
            color: #ccc;
            font-size: (18/@rootsize);
            margin: (10/@rootsize );
        }

        .column-centerT {
            height: (440/@rootsize);
            width: (735/@rootsize);
            background-color: rgba(225, 225, 225, 0.1);
            margin-bottom: (20/@rootsize);
            .chinaview {
                height: (440/@rootsize);
                width: (729/@rootsize);
            }
        }

        .column-centerB {
            height: (300/@rootsize);
            width: (735/@rootsize);

            h1 {
                color: #fff;
                font-size: (16/@rootsize);
            }

            .chart2 {
                display: flex;
                justify-content: space-between;
                height: (220/@rootsize);
                margin-top: (10/@rootsize);

                // border: 1px solid red;
                .box {
                    width: (500/@rootsize);
                    height: (220/@rootsize);
                }

                .zs {
                    width: (150/@rootsize);
                    height: (220/@rootsize);
                    display: flex;
                    flex-direction: column;
                    background: url(../images/rect.png) no-repeat 0 0;
                    background-size: cover;
                    color: #0c51da;
                    padding: (30/@rootsize)(30/@rootsize);

                    span {
                        margin-bottom: (20/@rootsize);

                        h2 {
                            font-size: (25/@rootsize);
                            color: #fff;
                            margin-bottom: (20/@rootsize);
                        }
                    }
                }
            }
        }
    }

    .column:nth-child(3) {
        .overview-right {
            width: (550/@rootsize);
            height: (150/@rootsize);
            display: flex;
            flex-direction: column;
            justify-content: space-around;

            .time{
                border: 1px solid #fff;
                color:#154ab0;
                padding: (20/@rootsize) 0;
                font-size: (16/@rootsize);
                a{
                    // border-right: (1/@rootsize) solid #fff;
                    padding: (10/@rootsize)(10/@rootsize);
                    &:active{
                        color: #fff;
                    }
                }
            }
            .time-data{
                span{
                    border: 1px solid red;
                }
            }
        }

        .monitor-right {
            width: (550/@rootsize);
            height: (220/@rootsize);
        }

        .center-right {
            border-image: none;
            width: (550/@rootsize);
            height: (220/@rootsize);
            display: flex;
            justify-content: space-between;

            // align-items: center;
            .column-right-qd {
                width: (270/@rootsize);
                height: (205/@rootsize);
            }

            .column-right-xx {
                width: (270/@rootsize);
                height: (205/@rootsize);
            }
        }

        .footer-right {
            width: (550/@rootsize);
            height: (210/@rootsize);
        }
    }

    @keyframes move {
        0% {}

        100% {
            transform: translateY(-50%);
        }
    }
}